﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Quality_Calculator.Skills.Alchemist
{
    class TricksOfTheTrade : BuffSkillBase
    {
        public int CpReturned { get; set; }
        public TricksOfTheTrade(int duration)
        {
            Enum = eSpell.TricksOfTheTrade;
            Name = "Tricks of the Trade";
            Icon = global::Quality_Calculator.Properties.Resources.Tricks_of_the_Trade;
            Duration = duration;
        }
        public override bool StartTurn(Synthesis synth)
        {
            if (synth.State == eState.Good)
            {
                CpReturned += 20;
                synth.CPCurrent += 20;
                return true;
            }
            else return false;
        }
    }
}
